package com.capybara.alarm.controller;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class M {
    @NotBlank(message = "name 不能唯恐")
    @Size(max = 10,min = 3,message = "name 长度在3-10之间")
    private String name;
}
